package com.jn.zhinongbao.adapter.bean;

public class FarmerCircle {
    private int id;
    private String content;
    private String imageUrl;
    private String authorName;
    private int authorId;
    private String location;
    private int likeCount;
    private int commentCount;
    private boolean isLiked;
    private String createTime;
    private String updateTime;

    public FarmerCircle() {}

    public FarmerCircle(String content, String imageUrl, String authorName, int authorId, String location) {
        this.content = content;
        this.imageUrl = imageUrl;
        this.authorName = authorName;
        this.authorId = authorId;
        this.location = location;
        this.likeCount = 0;
        this.commentCount = 0;
        this.isLiked = false;
    }

    // Getters and Setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public boolean isLiked() {
        return isLiked;
    }

    public void setLiked(boolean liked) {
        isLiked = liked;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
} 